import argparse

# 参数设置与调用（无'--'）：dropout=args.dropout
if __name__ == '__main__':
    parser = argparse.ArgumentParser(description='RENet')
    parser.add_argument("--dropout", type=float, default=0.5,
                        help="dropout probability")

    args = parser.parse_args()
    '''Namespace(dropout=0.5, n_hidden=200, gpu=0, lr=0.01, dataset='ICEWS18', grad_norm=1.0, 
    max_epochs=100, model=3, seq_len=10, num_k=10, batch_size=1024, rnn_layers=1, maxpool=1)
    '''
    print(args)
